package com.tjnu.losca.Vo;

import lombok.Getter;

/**
 * @author Losca
 * @date 2021/9/15 16:35
 */
@Getter
public enum ResponseCode {
    /**
     * 自定义响应记得以逗号分隔
     */
    SUCCESS(200),
    ERROR(500),
    UNAUTHORIZATION(403);
    private Integer code;

    ResponseCode(Integer code) {
        this.code = code;
    }
}
